﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class DestroyLater : MonoBehaviour {
    public float time = 0.5f;
    void Start() {
        Invoke("DestroySelf", time);
    }

    void Update() {
        
    }
    void DestroySelf() {
        Destroy(gameObject);
    }
}
